#pragma once
#include "ObjectManager.h"

class UserInput
{
public:
	UserInput(void);
	~UserInput(void);

	void initFrameInput(float currentTime);
	void addItemsToScene(ObjectManager* worldObjects, float currentTime, sf::RenderWindow* window);
private:
	void executeLeftMouse(ObjectManager* worldObjects, float currentTime, sf::RenderWindow* window);
	void executeRightMouse(ObjectManager* worldObjects, float currentTime, sf::RenderWindow* window);
	void executeMiddleMouse(ObjectManager* worldObjects, float currentTime, sf::RenderWindow* window);
	void executeLKey(ObjectManager* worldObjects, float currentTime, sf::RenderWindow* window);
	void executeTKey(ObjectManager* worldObjects);
	void executeDKey(float currentTime);
	void executeSKey(float currentTime);
	void executeDeleteKey(ObjectManager* worldObjects);
	void executeEscapeKey(sf::RenderWindow* window);
	void executeTildeKey(ObjectManager* worldObjects, float currentTime, sf::RenderWindow* window);
private:
	float timeActionMade;
	bool isKeyPressed;
	bool isStaticDrop;
	bool isDynamicDrop;
};

